home *** CD-ROM | disk | FTP | other *** search
/ Amiga News 95 / Amiga News 95.iso / dpat / dpat83 / injector / rexx / tutorial.ijctr
Text File  |  1994-06-21  |  1KB  |  45 lines

  1. /*  Tutorial  program  for  Injector,  can  be  started by injector (hotkey
  2. lcommand     rcommand     numpad     enter     in     the     configuration
  3. presets/Example.injector) */
  4.  
  5. ADDRESS "Injector"
  6. SAY"First of all, for the program to continue, you must delete what it"
  7. SAY"injects in this window (the down arrow key will do it)"
  8. SAY
  9. SAY"Let's see the File Requester features:"
  10. FREQ_SHOW
  11. SAY"You selected:"
  12. FREQ_INJPATH
  13. SAY
  14.  
  15. SAY"What about the string requester ?"
  16. SREQ_SHOW
  17. SAY"You entered:"
  18. SREQ_INJECT
  19. SAY
  20.  
  21. SAY"Injector can also inject constant strings. Whithin an ARexx program,"
  22. SAY"It can be useful to add a newline (\n), this way things injected by"
  23. SAY"Injector are queued on the console's stack. Example:"
  24. CHARS_INJ"(This is a test !\a\n)"
  25. SAY
  26.  
  27. SAY"The time features:"
  28. TIME_INJDATE"(0)"
  29. CHARS_INJ"(, it is )"
  30. TIME_INJTIME"(0)"
  31. SAY
  32.  
  33. SAY"Injector can paste the clipboard contents, let's see if there's"
  34. SAY"something in it..."
  35. CHARS_CLIP"(0)"
  36. SAY
  37.  
  38. SAY"Is the Kickstart environment variable defined ?"
  39. CHARS_ENV"(Kickstart)"
  40. SAY
  41.  
  42. SAY"That's it, I let you with the prefs program so that you can see"
  43. SAY"clearly. Bye."
  44. EXEC_PREFS
  45.